﻿using System.ComponentModel;
using System.Windows.Data;
using ttg_internal.utils;

namespace ttg_internal.Utilities.PipelineManager.ViewModel
{
    public class MainViewModel
    {
        public MainViewModel(GlobalInfo globalInfo)
        {
            Pipelines = CollectionViewSource.GetDefaultView(globalInfo.Pipelines.Pipelines);
            Pipelines.MoveCurrentToFirst();
        }

        public ICollectionView Pipelines { get; private set; }
    }
}
